package com.ourhealth.mapper;

import com.ourhealth.pojo.Menu;
import com.ourhealth.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ych
 * @version v1.0
 * @date 2019/12/3 16:08
 * @description
 **/
public interface MenuMapper {
    User findUserByUserName(@Param("username") String username);

    List<Integer> findMenuIdsByRoleId(@Param("id") Integer id);

    Menu findMenuByMenuId(@Param("id") Integer id);
}
